package chapter17;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2019/3/24 15:04
 */
public class Utilities {
    static List<String> list = Arrays.asList("ont two three four five six seven eight".split(" "));

    public static void main(String[] args) {
        System.out.println(list);
        System.out.println("lit disjoint four?:" + Collections.disjoint(list, Collections.singletonList("four")));
        System.out.println("max:" + Collections.max(list));
        System.out.println("min:" + Collections.min(list));
    }
}
